<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>绑定 - 用户</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="${request.contextPath}/static/libs/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="${request.contextPath}/static/modules/web/kdayunadmin/style/admin.css" media="all">
    <link rel="stylesheet" href="${request.contextPath}/static/modules/web/kdayunadmin/style/login.css" media="all">
    <link rel="stylesheet" href="${request.contextPath}/static/libs/ztree/css/metroStyle/metroStyle.css" media="all" />
    <link rel="stylesheet" href="${request.contextPath}/static/libs/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="${request.contextPath}/static/css/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="${request.contextPath}/static/modules/manager/css/global.css" media="all" />
    <link rel="icon" href="${request.contextPath}<@configValue id='CAAB580980C74A169D8AFEB418ABB5AA'> </@configValue>"
        type="image/x-icon" />
</head>
<style>
    .layui-logo {
        text-align: center;
    }

    .layui-logo-img {
        margin-inline-end: 10px;
        width: 50px;
        height: 50px;
        margin-right: 10px;
        border-radius: 50%;
    }

    .layadmin-user-login-footer a {
        color: #fff
    }
</style>

<body id="zhengling-zhuye">
    <div class="layadmin-user-login layadmin-user-display-show" id="LAY-user-login"
        style="display: none; background: #fefefe;">
        <div class="layadmin-user-login-main">
            <div class="layadmin-user-login-box layadmin-user-login-header">
                <h2>绑定用户</h2>
            </div>
            <div class="layadmin-user-login-box layadmin-user-login-body layui-form">
                <input value="${bind.openid}" type="hidden" name="openid">
                <input value="${bind.state}" type="hidden" name="state">
                <input value="${bind.orgid}" type="hidden" name='orgid'>
                <input value="${bind.orgcode}" type="hidden" name="orgcode">
                <input type="hidden" name="RWID">
                <input type="hidden" name="unionid">
                <input value="${vcodekey}" type="hidden" name="vcodekey">
                <input value="${tokenidname}" type="hidden" name="tokenidname">

                <div class="layui-form-item">
                    <div class="layui-logo">
                        <img class="layui-logo-img" atl src="${request.contextPath}/static/image/errorload.gif">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layadmin-user-login-icon layui-icon layui-icon-username"
                        for="LAY-user-nickname"></label>
                    <input type="text" disabled readonly name="nickname" id="LAY-user-nickname" class="layui-input">
                </div>
                <div class="layui-form-item">
                    <label class="layadmin-user-login-icon layui-icon layui-icon-cellphone" for="phone"></label>
                    <input type="text" name="phone" id="LAY-user-bind-cellphone" lay-verify="required|phone|number"
                        placeholder="手机" class="layui-input" maxlength="11">
                </div>
                <div class="layui-form-item">
                    <div class="layui-row">
                        <div class="layui-col-xs7">
                            <label class="layadmin-user-login-icon layui-icon layui-icon-vercode"
                                for="LAY-user-bind-vcode"></label>
                            <input type="text" name="vcode" id="LAY-user-bind-vcode" lay-verify="required"
                                placeholder="图形验证码" class="layui-input" maxlength="8" autocomplete="off">
                        </div>
                        <div class="layui-col-xs5">
                            <div style="margin-left: 10px;">
                                <img id="captchaImg"
                                    src="${request.contextPath}/captcha.jpg?vcodekey=${vcodekey}&type=simple"
                                    class="layadmin-user-login-codeimg" id="LAY-user-get-vercode">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-row">
                        <div class="layui-col-xs7">
                            <label class="layadmin-user-login-icon layui-icon layui-icon-vercode"
                                for="LAY-user-bind-smscode"></label>
                            <input type="text" name="smscode" id="LAY-user-bind-smscode" lay-verify="required"
                                placeholder="短信验证码" class="layui-input" autocomplete="off" maxlength="8">
                        </div>
                        <div class="layui-col-xs5">
                            <div style="margin-left: 10px;">
                                <button type="button" class="layui-btn layui-btn-primary layui-btn-fluid"
                                    id="LAY-user-bind-send-smscode">获取验证码</button>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <button class="layui-btn layui-btn-fluid" lay-submit lay-filter="LAY-user-bind-submit">绑定</button>
                </div>
                <div class="layui-trans layui-form-item layadmin-user-login-other" style="padding-top:0">
                    <a href="javascript:;" id="layadmin-user-jump-login"
                        class="layadmin-user-jump-change layadmin-link layui-show-xs-inline-block layui-hide-xs">使用已有帐号登录</a>
                </div>
            </div>
        </div>
        <div class="layui-trans layadmin-user-login-footer" style="background:#277FD0;color:#fff">
            <#include "/web/foot.ftl" />
        </div>
    </div>
    <#include "base/pagefoot.ftl" />

    <script
        src="${request.contextPath}/static/modules/web/wechatbind.js?v=<@configVersion suosxt='CORE'> </@configVersion>"></script>

</body>

</html>